package element;

import java.awt.Graphics2D;
import springiesSimulator.Assembly;

/**
 * @author Mark Govea
 */
public interface RenderableObject {
    /**
     * @param pen for drawing the object
     */
    void paint (Graphics2D pen);

    /**
     * @param canvas simulation for the object
     * @param dt change in time
     */
    void update (Assembly canvas, double dt);
}
